Cannot manage button click. Cannot clear the window.